home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
pcboard
/
newuserq.zip
/
NEWUSER.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-01-12
|
4KB
|
256 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.O1 (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
Integer INTEGER006
Integer INTEGER007
String TSTRING001(3)
String STRING002
String STRING003
String TSTRING004(4)
String STRING005
String STRING006
;------------------------------------------------------------------------------
DispFile PPEPath() + "start.txt", 1
Cls
Print "@POFF@"
STRING005 = ReadLine(PPEPath() + "newuser.cfg", 1)
If (STRING005 == "") STRING005 = PPEPath() + "answers.txt"
FAppend 1, STRING005, 2, 0
FPutLn 1, ""
FPutLn 1, ""
FPutLn 1, "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
FPut 1, U_Name()
FPut 1, " "
FPut 1, Time()
FPut 1, " "
FPutLn 1, Date()
FPutLn 1, Modem()
FPutLn 1, ""
TSTRING001(1) = "@X08"
TSTRING001(2) = "@X07"
TSTRING001(3) = "@X0F"
STRING003 = "New User Questionnaire"
Gosub LABEL002
Delay 20
Gosub LABEL003
STRING003 = "By Lord Blix, 1996"
Gosub LABEL002
Delay 20
Gosub LABEL003
Delay 10
Print "@X05"
Gosub LABEL007
:LABEL001
INTEGER007 = 4
INTEGER004 = 0
INTEGER005 = 0
INTEGER003 = INTEGER003 + 1
STRING003 = ReadLine(PPEPath() + "question.txt", INTEGER003)
If (STRING003 == "") Goto LABEL011
If (Left(STRING003, 1) == "*") Then
INTEGER005 = 1
Print "@X0C"
Gosub LABEL007
STRING003 = Right(STRING003, Len(STRING003) - 1)
Endif
If (Right(STRING003, 1) == "*") Then
INTEGER007 = 1
STRING003 = Left(STRING003, Len(STRING003) - 1)
Endif
Gosub LABEL002
AnsiPos 1, 20
Gosub LABEL008
Gosub LABEL010
If (INTEGER005) Then
INTEGER005 = 0
Print "@X05"
Gosub LABEL007
Endif
Gosub LABEL003
Goto LABEL001
End
:LABEL002
For INTEGER002 = 1 To 3
AnsiPos 16, 9
Print TSTRING001(INTEGER002)
Print STRING003
Delay 2
Next
Return
:LABEL003
For INTEGER002 = 3 To 1 Step -1
AnsiPos 16, 9
Print TSTRING001(INTEGER002)
Print STRING003
Delay 2
Next
AnsiPos 16, 9
Print " "
Return
:LABEL004
STRING006 = ""
:LABEL005
STRING006 = Inkey()
If (STRING006 == "") Goto LABEL005
If (STRING006 == Chr(13)) Return
If (STRING006 == Chr(8)) Gosub LABEL006
If (STRING006 == ",") STRING006 = ""
If (Len(STRING006) <> 1) Goto LABEL004
If (Len(STRING002) < 47) Then
Print STRING006
STRING002 = STRING002 + STRING006
Endif
Goto LABEL004
Return
:LABEL006
STRING006 = ""
If (Len(STRING002) < 1) Return
STRING002 = Left(STRING002, Len(STRING002) - 1)
Print Chr(8) + " " + Chr(8)
Return
:LABEL007
AnsiPos 1, 10
PrintLn " ┌───────────────────────────────────────────────┐"
PrintLn " │ │"
PrintLn " │ │"
PrintLn " │ │"
PrintLn " │ │"
PrintLn " └───────────────────────────────────────────────┘"
If (INTEGER005) Then
AnsiPos 48, 15
Print "@X0Fanswer required"
Endif
Return
:LABEL008
INTEGER004 = INTEGER004 + 1
STRING002 = ""
:LABEL009
AnsiPos 17, 10 + INTEGER004
Print "@X0B"
Gosub LABEL004
If (((STRING002 == "") && (INTEGER005 == 1)) && (INTEGER004 == 1)) Goto LABEL009
If (STRING002 == "") Then
INTEGER004 = INTEGER004 - 1
Else
TSTRING004(INTEGER004) = STRING002
If (INTEGER004 < INTEGER007) Goto LABEL008
Endif
Return
:LABEL010
If (INTEGER004 == 0) Then
FPutLn 1, "(" + STRING003 + ") Refused Answer"
Return
Endif
If (INTEGER005) FPut 1, "(" + STRING003 + ")(REQUIRED) "
If (!INTEGER005) FPut 1, "(" + STRING003 + ") "
If (INTEGER004 == 1) Then
FPut 1, TSTRING004(1)
Else
FPutLn 1, ""
For INTEGER002 = 1 To INTEGER004
FPutLn 1, TSTRING004(INTEGER002)
Next
Endif
FPutLn 1, ""
For INTEGER002 = 1 To 4
TSTRING004(INTEGER002) = ""
Next
INTEGER004 = 0
Print "@X05"
Gosub LABEL007
Return
:LABEL011
DispFile PPEPath() + "end.txt", 1
INTEGER006 = ReadLine(PPEPath() + "newuser.cfg", 2)
If (INTEGER006 > 0) Then
U_Sec = INTEGER006
Endif
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 1 Cls
; 26 Goto
; 39 Let
; 14 Print
; 6 PrintLn
; 25 If
; 2 DispFile
; 1 FAppend
; 7 FPut
; 10 FPutLn
; 14 Gosub
; 10 Return
; 5 Delay
; 7 AnsiPos
;
;
; ■ Functions used :
;
; 3 -
; 22 +
; 4 -
; 14 ==
; 1 <>
; 7 <
; 4 <=
; 1 >
; 8 >=
; 14 !
; 10 &&
; 4 ||
; 6 Len(
; 3 Left()
; 2 Right()
; 4 Chr()
; 1 Date()
; 1 Time()
; 1 U_Name()
; 1 Inkey()
; 6 PPEPath()
; 3 ReadLine()
; 1 Modem()
;
;------------------------------------------------------------------------------
;
; Analysis flags : No flag
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 4 For/Next
; 0 While/EndWhile
; 9 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------